/**
 * Gadget config file
 */


var host = "https://2ij0480151.vicp.fun"
// var host = "http://192.168.17.218:7002"

var config = {

    host,

    loginUrl: '/api/feishu/web_code',

    userInfoUrl: `/api/feishu/info`,

    uploadUrl: `/api/upload`,

    initEntryInfo: `/api/feishu/entry_info`,

    commissionUrl: '/api/order/commission',

    saleRecordUrl: '/api/order/sales_record',

    createOrderUrl: '/api/order/feishu/create',

    skuUrl: '/api/product/worker_skus',

    wxPayUrl: '/api/wx/payUrl',

    payResultUrl: '/api/wx/payResult',

    orderSuccessUrl: '/api/order/success',

    rankUrl: '/api/order/rank',

    openIdUrl: `https://${host}/openid`,

    tunnelUrl: `https://${host}/tunnel`,

    paymentUrl: `https://${host}/payment`,

    templateMessageUrl: `https://${host}/templateMessage`,

    uploadFileUrl: `https://${host}/upload`,

    downloadExampleUrl: `https://${host}/static/weapp.jpg`,

    tokenKey: 'ACCESS_TOKEN',

    userInfo: 'USER_INFO',

    stockListUrl: '/api/feishu/stock/list',

    storeListUrl: '/api/feishu/store/list'
};

module.exports = config